RemoveFragment

data class RemoveFragment(val tag: String, val fragmentRequestKey: String? = null, val getFragmentManager: ActivityLifecycleSubscribable.LifecycleManager.() -> FragmentManager = { fragmentManager }) : NavigationSpec

Removes a Fragment with a given tag

Parameters

tag

The tag of the Fragment to remove

fragmentRequestKey

Optional key to provide to FragmentManager.setFragmentResult

getFragmentManager

Optional getter for the FragmentManager to handle removing the Fragment

Constructors

Link copied to clipboard
constructor(tag: String, fragmentRequestKey: String? = null, getFragmentManager: ActivityLifecycleSubscribable.LifecycleManager.() -> FragmentManager = { fragmentManager })

Properties

Link copied to clipboard
Link copied to clipboard
val tag: String